/* Barra Header */

.barra{
  max-width:100%;
  height:80%;
  display:block;
  margin:0 auto;
  display:block;
}

.flex-container {
  background: #fff;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  -webkit-box-align: start;
  -moz-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

#barra_header{
    margin-left: 0%;
    height: 55px;
    width: 1095px;
    padding-top: 0px;
    padding-bottom: 0px;
    background: #fff;
}

#barra_header ul{
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: -4px;
}

#barra_header ul li{
    float: left;
    margin-left:1px;
}

#barra_header ul li a{
    background-color: #2E2F30;
    background-clip: padding-box;
    height: 2em;
    width: 10em;
    line-height: 2em;
    float: left;
    display: block;
    border-radius: 3px;
    border: 0.125em solid #999;
    color: #fff9d6;
    text-decoration: none;
    text-align: center;
    font-weight:bold;
    font-family: Courier, monospace;
    font-size: 12px;
}

#barra_header ul li a:hover {
    background-color: #bbb;
}

#barra_header ul li .sesion{
    background-color: #1B3562;
    line-height: 2em;
    border: 0.125em solid #999;
    color: #fff9d6;
}

#sec {
    text-align: right;
    margin-right: 50px;
    margin-top: -55px;
    font-weight:bold;
    font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
    font-size: 14px;
}

/* Barra Lateral */

#barra_lateral{
	background: #c13030;
}

		#barra_lateral > ul > li > ul
		{
			display: none;
		}

		#barra_lateral ul
		{
			margin: 0;
		}

		#barra_lateral li
		{
			padding: 0.5em 0 0.5em 0;
		}
		
		#barra_lateral li:first-child
		{
			border: 0;
			box-shadow: none;
			padding-top: 0;
		}

		#barra_lateral li:last-child
		{
			padding-bottom: 0;
		}

#barra_lateral h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    margin: 10px 0 10px 6%;
    display: block;
    float: left;
    width: 90%;
}

.toggleLink {
    color: #999999;
    font-size: 10px;
    text-decoration: none;
    display: block;
    float: right;
    margin-right: 2%
}

#barra_lateral .toggleLink:hover {
    color: #77BACE;
    text-decoration: none;
}

#barra_lateral ul {
    clear: both;
    margin: 0; padding: 0;
}

#barra_lateral li {
    list-style: none;
    margin: 0 0 0 12%; padding: 0;
}

#barra_lateral li:hover {
    background-color: rgba(255,255,255,0.1);
	color: #fff;
}

#barra_lateral li a {
    color: #c0c0c0;
    padding-left: 25px;
    text-decoration: none;
    line-height: 17px;
    margin: 2px 0;
}

#barra_lateral li.icn_categories a {
    background: url(../images/icn_categories.png) no-repeat center left;
}

#barra_lateral li.icn_settings a {
    background: url(../images/icn_settings.png) no-repeat center left;
}

/* Contenido Principal*/

#main {
    /*width: 100%;*/
    min-height: 500px;
    background: url(../images/sidebar_shadow.png) repeat-y left top;
    margin-top: 0%;
}

#main h3 {
    color: #1F1F20;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #fff;
    font-size: 13px;
    margin: 8px 20px;
}

#derecha {
	float: right;
}

/* Modules */

.module {
    border: 1px solid #9BA0AF;
    width: 100%;
    margin: 20px 3% 0 3%;
    margin-left: 6%;
    margin-top: 2%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #ffffff;
}

.module header {
    height: 38px;
    width: 100%;
    background: #F1F1F4 url(../images/secondary_bar.png) repeat-x;
    -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px; border-top-right-radius: 5px;
    text-align: left;
    font-weight:bold;
    font-family: cursive;
    font-size: 12px;
}

.module_content {
    margin: 2% 20px;
    text-align: inherit;
    color: #666;
}

/* Module Widths */

.width_full {
    width: 100%;
}

.formulario{
    margin: 2% 22%;
    width: 60%;
}

/* Alerts */

.alert_info {
    display: block;
    width: 100%;
    margin-left: 6%;
    margin-right:6%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #B5E5EF url(../images/icn_alert_info.png) no-repeat;
    background-position: 10px 10px;
    border: 1px solid #77BACE;
    color: #082B33;
    padding: 10px 0;
    text-indent: 40px;
    font-size: 14px;
}

.alert_warning {
    display: block;
    width: 100%;
    margin-left: 6%;
    margin-right:6%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #F5F3BA url(../images/icn_alert_warning.png) no-repeat;
    background-position: 10px 10px;
    border: 1px solid #C7A20D;
    color: #796616;
    padding: 10px 0;
    text-indent: 40px;
    font-size: 14px;
}

.alert_error {
    display: block;
    width: 100%;
    margin-left: 6%;
    margin-right:6%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #F3D9D9 url(../images/icn_alert_error.png) no-repeat;
    background-position: 10px 10px;
    border: 1px solid #D20009;
    color: #7B040F;
    padding: 10px 0;
    text-indent: 40px;
    font-size: 14px;
}

.alert_success {
    display: block;
    width: 100%;
    margin-left: 6%;
    margin-right:6%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #E2F6C5 url(../images/icn_alert_success.png) no-repeat;
    background-position: 10px 10px;
    border: 1px solid #79C20D;
    color: #32510F;
    padding: 10px 0;
    text-indent: 40px;
    font-size: 14px;
}

input:required:invalid, input:focus:invalid {
    background-image: url(../images/invalid.png);
    background-position: right top;
    background-repeat: no-repeat;
 }
  
 input:required:valid {
    background-image: url(../images/valid.png);
    background-position: right top;
    background-repeat: no-repeat;
 }
 
 fieldset {
	border: solid #9BA0AF;
	padding: 8px;
	border-width: 1px;
	margin-bottom: 15px;
}

legend {
	color: #000;
}

td {
	padding: 5px;
}